home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
pcbdemo3.zip
/
PCBDISK3.EXE
/
PCBTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-11-19
|
487b
|
27 lines
@echo off
echo ■ Checking for included FILE_ID.DIZ for description
if %2 == UPLOAD pcbdesc %1 %3
testfile %1 arc zip
if errorlevel == 98 goto end
if errorlevel == 2 goto zip
if errorlevel == 1 goto arc
goto end
:zip
echo ■ Testing ZIP file integrity
pkunzip -t %1 > pcbfail.txt
if errorlevel == 1 goto end
del pcbfail.txt
goto end
:arc
echo ■ Testing ARC file integrity
pkxarc -t %1 > pcbfail.txt
if errorlevel == 1 goto end
del pcbfail.txt
goto end
:end